<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>popup 示例,jquery弹出层、html、文本、框架</title>



<!-- 
	说明,详细介绍:http://www.okajax.com/demo/dialog/ 
	//透明度,自己可以调,在文件dialog.js里面
-->
<script type="text/javascript" src="dialog.js"></script>
<script type="text/javascript" src="jquery.min.js"></script>
<style type="text/css">
	#floatBoxBg{display:none;width:100%;height:100%;background:#000;position:absolute;top:0;left:0;}
	.floatBox{border:#666 5px solid;width:300px;position:absolute;top:50px;left:40%;}
	.floatBox .title{height:23px;padding:7px 10px 0;background:#333;color:#fff;}
	.floatBox .title h4{float:left;padding:0;margin:0;font-size:14px;line-height:16px;}
	.floatBox .title span{float:right;cursor:pointer;}
	.floatBox .content{padding:20px 15px;background:#fff;}
</style>


<script type="text/javascript">
$(function(){

	$("#bt1").click(function(){
	  dialog("打开baidu","iframe:http://www.baidu.com","800px","500","iframe");
	});

});
</script>
<style type="text/css">
	body{margin:0 auto; width:910px;}
	#bt1{color:red; padding:20px; margin:10px auto; border:solid 1px gray;}
</style>

</head>

<body>
<div id="bt1">打开baidu</div>
<p>详细介绍 http://www.okajax.com/demo/dialog/</p>
</body>
</html>
